# --------------------------------
# -*- coding: utf-8 -*-
# Author: Zhu
# Time: 2021/12/15   
# Description:
# --------------------------------

from selenium.webdriver.common.by import By

class ele_SUPPLIE_MANAGEMENT:


    # 供应商管理
    ys_Supplie_suppliemanagement = By.XPATH,  "/html/body/div/div/div[1]/div[2]/div[1]/div/ul/div[3]/li/ul/div[1]/li/ul/" \
                                              "div[2]/a/li"

    # 新建
    ys_Supplie_create = By.XPATH,  "/html/body/div/div/div[2]/section/div/div[2]/div[1]/button"

    # 货主名称
    ys_Supplie_c_shippername = By.XPATH,  "/html/body/div[3]/div/div[2]/div/form/div/div[1]/div/div/div/div/input"
    # ui货主，注意：先点击货主名称才会在最后展示货主列表，所以用last()
    ys_Supplie_shippername = By.XPATH,  "/html/body/div[last()]/div[1]/div[1]/ul/li[3]/span"

    # 供应商名称
    ys_Supplie_supplie_name = By.XPATH, "/html/body/div[3]/div/div[2]/div/form/div/div[2]/div/div/div/input"

    # 供应商编码
    ys_Supplie_bm = By.XPATH,  "/html/body/div[3]/div/div[2]/div/form/div/div[3]/div/div/div/input"

    # 联系人
    ys_Supplie_contact = By.XPATH,  "/html/body/div[3]/div/div[2]/div/form/div/div[4]/div/div/div/input"

    # 联系人手机
    ys_Supplie_contactphone = By.XPATH,  "/html/body/div[3]/div/div[2]/div/form/div/div[5]/div/div/div/input"

    # 联系人固话
    ys_Supplie_phoneGH = By.XPATH,  "/html/body/div[3]/div/div[2]/div/form/div/div[6]/div/div/div/input"

    # 省市区


    # 详细地址
    ys_Supplie_address = By.XPATH,  "/html/body/div[3]/div/div[2]/div/form/div/div[8]/div/div/div/input"

    # 备注
    ys_Supplie_remark = By.XPATH,  "/html/body/div[3]/div/div[2]/div/form/div/div[9]/div/div/div/input"

    # 确定按钮
    ys_Supplie_submit = By.XPATH,  "/html/body/div[3]/div/div[3]/span/button[2]"


